/*
 * @Author: leevan
 * @Date: 2022-02-11 14:47:06
 * @LastEditTime: 2022-02-17 10:24:12
 * @LastEditors: leevan
 * @FilePath: /usermanagecenter/src/service/dataDictionary.service/path.js
 */

import {
    URL
} from '../config';

//查询主题下面的所有字典（树形结构）
export const queryAllDic_path = () => URL + `/uc/dict/code/tree`;
//查询父节点下的所有子节点（树形结构）
export const queryAllDicChild_path = () => URL + `/uc/dict/code/tree/children`;
//数据字典科目分页查询
export const queryDataFiledSubject_path = () => URL + `/uc/dict/subject/page`;
//数据字典保存
export const saveDataFiledSubject_path = () => URL + `/uc/dict/subject`;
//根据id查询 数据字典详情
export const getDataDetailByDictId_path = (dictId) => URL + `/uc/dict/code/detail/${dictId}`;
//根据id查询 数据字典科目详情
export const getDataSubDetailByDictId_path = (subId) => URL + `/uc/dict/subject/get/${subId}`;
//删除
export const deleteDataFiledSubject_path = subId => URL + `/uc/dict/subject/${subId}`
//主题下字典的模糊搜索（树形结构）
export const treeSearch_path = () => URL + `/uc/dict/code/tree/search`;
//字典管理保存
export const saveDict_path = () => URL + `/uc/dict/code`
//更新字典管理
export const updateDict_path = () => URL + `/uc/dict/code`
//删除
export const deleteDict_path = dictId => URL + `/uc/dict/code/${dictId}`
//字典详情查询
export const dictDetails_path = dictId => URL + `/uc/dict/code/detail/${dictId}`